<!DOCTYPE html>
<html>
    <head>
        <title>1</title>
        <script type="text/javascript" src="../js/vue.js"></script>
    </head>
    <body>
       <div id="root">
            <h1></h1>
        </div>
        <script type="text/javascript">
            let obj={x:100}
            let obj2={y:200}
            Object.defineProperty(obj2,'x',{
                get(){
                    return obj.x
                },
                set(v){
                    obj.x=v
                }
            }
        )
        </script>
    </body>
</html>
